Skip to content

ci(mcpx): add e2e-no-deno leg to mcpx-test (#13387) - #13615

Merged
dezren39 merged 1 commit into
mainfrom
lane-oc4-13387
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
lane-oc4-13387

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Refs #13387 (does not auto-close: the acceptance proof is the leg running green in CI, which happens on the post-merge dispatch recorded on the issue).

What

Adds the e2e-no-deno leg to .github/workflows/mcpx-test.yml, mirroring the host legs' setup with one deliberate omission — no setup-deno:

  • runs-on: ubuntu-latest; setup-go + setup-bun + setup-node + setup-python only.
  • A guard step asserts deno is absent from PATH, so the leg fails if Deno is introduced onto the runner PATH (the issue's second acceptance criterion).
  • The test step sets MCPX_TEST_REQUIRE=bun,node,python3 and runs the runtime-focused e2e tests -run-filtered: the three per-runtime tests in internal/e2e/runtime_test.go plus the auto-resolution probes TestScriptRuntimeSelectsTheRuntime / TestScriptRuntimeOrderRanksTheAutoPick from internal/e2e/effect_test.go. Filtered runs are exempt from the feature-coverage guard by design.
  • The step asserts from the -json stream that the bun and node subtests ran and passed (not skipped via RequireBinary), and that both auto probes passed — the issue's first acceptance criterion is "shown as run, not skipped", not just a green exit.
  • Wired into ci-ok's needs. Tier placement per the repo CI policy: mcpx-test.yml is nightly + workflow_dispatch, not a PR gate.

Premise (verified first-hand)

  • On main before this change, mcpx-test.yml had no no-deno leg: every host leg installs Deno via setup-deno and both nix legs run the wrapped binary (whose wrapper suffixes Deno onto PATH), so script.runtime=auto always resolves to Deno in CI.
  • The probes adapt to the installed runtime set via firstDefaultRuntime, and the per-runtime subtests are named deno/bun/node with deno skipping via RequireBinary — so a Deno-less filtered run exercises exactly the bun/node paths.
  • Workflow YAML parses; the job list and ci-ok needs were read back from the parsed structure.
  • Local rehearsal on the laptop with a Deno-less PATH (deno unresolvable; bun/node/python3 present): the same filtered go test invocation and the same outcome assertion were run against this branch — results recorded on ci(mcpx): e2e-no-deno leg — real bun and node paths with no Deno on PATH #13387.

Verification


See it in action
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

The real bun and node e2e paths with no Deno anywhere on PATH — what
a user without Deno gets from script.runtime=auto. Every other leg
installs Deno (setup-deno) or runs the nix-wrapped binary, whose
wrapper suffixes Deno onto PATH, so auto always resolves to Deno
there.

The leg omits setup-deno, asserts deno stays absent from PATH (so it
fails if Deno is introduced onto the runner), sets
MCPX_TEST_REQUIRE=bun,node,python3, and runs the per-runtime tests
plus the two auto-resolution probes -run-filtered, asserting from the
-json stream that the bun/node subtests ran and passed rather than
skipping. Wired into ci-ok's needs.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 7 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9711674b-14dc-4137-853f-8a5dc7ccd03c
Commits

Reviewing files that changed from the base of the PR and between 4473da0 and c35afb9.

Files selected for processing: 1

  • .github/workflows/mcpx-test.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39
dezren39 merged commit 4ec340e into main Nov 23, 2026
2 checks passed
@dezren39
dezren39 deleted the lane-oc4-13387 branch November 23, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant